package com.xt.purchasingsystem.mapper;

import com.xt.purchasingsystem.model.Productionprocesses;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Author: 老姚
 * Date:  2020/3/16 20:26
 */
public interface ProductionprocessesMapper {
    /**
     * 查询产品工序总数
     * @return
     */
    int rowCount();

    /**
     * 分页查询产品工序
     * @param currNo
     * @param pageSize
     * @return
     */
    List<Productionprocesses> queryAllByPaging(@Param("currNo") Integer currNo, @Param("pageSize") Integer pageSize);


}
